package com.taxshare.purchaser.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.taxshare.mybatis.entity.BaseEntity;
import com.taxshare.purchaser.constant.TableConstant;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * @ClassName: InvoiceTaxRulesEntity
 * @Description: 税号规则表
 * @author: hjh
 * @date: 2021/11/10 15:24
 */
@Data
@ApiModel(description = "税号规则表")
@EqualsAndHashCode(callSuper = true)
@TableName(TableConstant.T_PURCHASER_INVOICE_TAX_RULES)
public class InvoiceTaxRulesEntity extends BaseEntity implements Serializable {
    @ApiModelProperty("税号规则ID")
    @TableId("tax_rule_id")
    private String taxRuleId;

    @ApiModelProperty("发票审核规则uuid")
    @TableId("uuid")
    private String uuid;

    @ApiModelProperty("税号规则类型，根据数据权限校验-> 1，本集团所属公司-> 2")
    @TableField("tax_type")
    private String taxType;

    @ApiModelProperty("税号规则不通过原因")
    @TableField("tax_not_pass_reasons")
    private String taxNotPassReasons;

    @ApiModelProperty("税号规则是否开启，0->不开启 1->开启")
    @TableField("tax_is_open")
    private String taxIsOpen;

    @ApiModelProperty("强制通过标志(0 未开启  1 开启)")
    @TableField("force_flag")
    private String forceFlag;
}
